/* Orbas:
 *     A open source CORBA Specification implementation from Huihoo.
 *
 * Copyright 2002-2003 Huihoo.org, Inc. All Right Reserved.
 *
 * This software is licensed under LGPL license.
 * See terms of license at gnu.org.
 *
 * For more information, visit:
 *
 * http://www.huihoo.org/orbas
 */

package org.huihoo.orbas.idl;

class FixedArraySize extends IdlSymbol {

	public PosIntConst pos_int_const;

	public FixedArraySize(int num) {
		super(num);
	}

	public void parse()

	{
		pos_int_const.parse();
	}

	public int value() {
		return pos_int_const.value();
	}

	public void setPackage(String s) {
		s = parser.pack_replace(s);
		if (pack_name.length() > 0)
			pack_name = new String(s + "." + pack_name);
		else
			pack_name = s;
		pos_int_const.setPackage(s);
	}
}
